@import "./pubilc";
@import "./top";
@import "./header";
@import "./footer";
@import "./nav";
// 购物车布局 
.cart-container {
    border: 1px solid #f1f1f1;
    border-top: 2px solid #aaa;
    background: #fff;
    width: 990px;
    margin: 0 auto;
}

.goods {
    position: relative;
    border-top: 1px solid #c5c5c5;
    line-height: 20px;
    background: #fff;
    padding: 0 0 1px 40px;
    clear: both;
    &::after {
        content: "";
        display: block;
        clear: both;
        overflow: hidden;
    }
}

.p-goods {
    width: 300px;
    float: left;
    padding: 15px 0 10px;
    .p-img {
        position: relative;
        float: left;
        width: 80px;
        height: 80px;
        border: 1px solid #eee;
        margin-right: 30px;
        background: #fff;
        padding: 0;
        text-align: center;
        overflow: visible;
        img {
            width: 100%;
            height: 100%;
        }
    }
    .p-item {
        height: 40px;
        line-height: 20px;
        overflow: hidden;
        font-family: verdana, Microsoft YaHei, SimSun, -apple-system, BlinkMacSystemFont, PingFang SC;
    }
}

.p-price {
    position: relative;
    width: 150px;
    padding-right: 40px;
    text-align: right;
    outline: none;
    float: left;
    padding: 15px 0 10px;
    color: #f10;
}

.p-quantity {
    width: 84px;
    float: left;
    padding: 15px 0 10px;
    margin-left: 80px;
    .cartnum {
        width: 80px;
        border: 0;
        overflow: hidden;
        button {
            position: static;
            float: left;
            outline: 0;
            text-align: center;
            box-sizing: border-box;
            color: #232326;
            border: 1px solid #cbcbcb;
            padding: 0;
            border-width: 1px;
            background: #f1f1f1;
            width: 17px;
            height: 20px;
            line-height: 16px;
            vertical-align: middle;
        }
        input {
            border-width: 1px 0;
            width: 46px;
            position: static;
            float: left;
            outline: 0;
            text-align: center;
            box-sizing: border-box;
            height: 20px;
            color: #232326;
            border: 1px solid #cbcbcb;
            background: #fff;
            line-height: 18px;
            vertical-align: middle;
            padding: 0;
        }
    }
}

.p-sum {
    @extend .p-price;
    color: #333;
}

.p-options {
    margin-left: 80px;
    width: 75px;
    float: left;
    padding: 15px 0 10px;
    a {
        color: #666;
        display: block;
        text-decoration: none;
        background-color: rgba(0, 0, 0, 0);
    }
}

.list {
    display: none;
}